package com.wei.web.middleware.retry.compensate.config;

import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * @author shihuimiao
 * create time: 上午10:11
 */

@ConfigurationProperties(prefix = "compensate")
public class CompensateConfig {


    private Integer retry = 3;


    private Integer cycleMinute = 1;

    private Integer cycleSecond;

    private Boolean open = false;

    private String wsBotKey;

    private Boolean dataIsolation = false;

    public String getWsBotKey() {
        return wsBotKey;
    }

    public void setWsBotKey(String wsBotKey) {
        this.wsBotKey = wsBotKey;
    }

    public Integer getRetry() {
        return retry;
    }

    public void setRetry(Integer retry) {
        this.retry = retry;
    }

    public Integer getCycleMinute() {
        return cycleMinute;
    }

    public void setCycleMinute(Integer cycleMinute) {
        this.cycleMinute = cycleMinute;
    }

    public Integer getCycleSecond() {
        return cycleSecond;
    }

    public void setCycleSecond(Integer cycleSecond) {
        this.cycleSecond = cycleSecond;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public Boolean getDataIsolation() {
        return dataIsolation;
    }

    public void setDataIsolation(Boolean dataIsolation) {
        this.dataIsolation = dataIsolation;
    }
}
